using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Sec_scan漏洞扫描系统
{
    public partial class Sec_Scan_PathScan : Form
    {
        public Sec_Scan_PathScan()
        {
            InitializeComponent();
        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            string url = "https://www.baidu.com";
            Sec_Api.Sec_PathScan_Service_Api.Url = url;//传一个地址出去
            //启动扫描后台路径
            Sec_Service.Sec_PathScan_Service.PathScan(Sec_Api.Sec_PathScan_Service_Api.P1);
            if(Sec_Api.Sec_PathScan_Service_Api.UrlPathOk.ToString().Length > 1)
            {
                dataGridView1.Rows.Add();
            }
        }
    }
}
